﻿using N2;
using N2.Details;

namespace Dinamico.Models
{
    public class BaseDescribePage : ContentItem
    {
        public BaseDescribePage()
        {
           // Show = true;
        }

        public override string Url
        {
            get
            {
                return base.Url;
            }
        }

        [EditableFreeTextArea("Center content", 100)]
        public virtual string CenterText { get; set; }

        [EditableCheckBox("Show this page in menu?", 1)]
        public virtual bool Show { get; set; }

        public override bool IsAuthorized(System.Security.Principal.IPrincipal user)
        {
            return true;
        }
        
    }
}